
import hashlib

from urllib.parse import urlencode


d = {
    "method": "GET",
    "timeStamp": 1763458664150,
    "User-Agent": "TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0Mi4wLjAuMCBTYWZhcmkvNTM3LjM2",
    "index": 45,
    "channelId": 40009,
    "sVersion": 2,
    "key": "A013F70DB97834C0A5492378BD76C53A"
}
d = urlencode(d)
md5 = hashlib.md5(d.encode()).hexdigest()
print(md5)